#include <jni.h>
#include <string>


#define EXTERN_C extern "C"
#define JNI_METHOD(CLAZZ_NAME, METHOD_NAME) Java_##CLAZZ_NAME##_##METHOD_NAME
#define SO_METHOD(METHOD_NAME) JNI_METHOD(com_itdog_surface_1create_NativeBridge, METHOD_NAME)


EXTERN_C jstring SO_METHOD(getVersion)(JNIEnv *env, jclass clazz)
{
    std::string hello = "MySurface V1.0";
    return env->NewStringUTF(hello.c_str());
}

